package com.zuo.mapper;

import com.zuo.entity.Bulletin;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 白白旧维
 * @Date 2022/3/3 11:08
 */
public interface BulletinMapper {

    List<Bulletin> listBulletin();

    List<Bulletin> searchBulletin(@Param("bname") String bname,@Param("bcontent") String bcontent);

    Bulletin getOne(int id);

    int updateBulletin(Bulletin bulletin);

    int removeBulletin(int id);

    int addBulletin(Bulletin bulletin);

}
